<?php 
include("config.php");
if(isset($_GET["id"]) and is_numeric($_GET["id"]))
	{
		$sql="update product set name='{$_GET["idname"]}' where 1=1}";
		$ketqua=mysql_query($sql);
		
	}
if(!$ketqua)
	{
		echo"ko thanh cong roi!";
	}
else
	{
		echo" ban da sua thanh cong!";
	}	
?>